arm64: mvebu: Restrict memory size to a usable maximum
authorStefan Roese <[email protected]>
Fri, 11 Nov 2016 07:18:44 +0000 (08:18 +0100)
committerStefan Roese <[email protected]>
Mon, 5 Dec 2016 12:34:33 +0000 (13:34 +0100)
commit059f75d501c8a92c6e25b6996e28a81ee6cb0418
treefda39ab59abe1eaa5f6eede066192662ae696129
parent1ec5aa630a02174734725ce49bd5351ad5037c2e
arm64: mvebu: Restrict memory size to a usable maximum

Not all memory is mapped in the MMU. So we need to restrict the memory
size so that U-Boot does not try to access it. Also, the internal
registers are located at 0xf000.0000 - 0xffff.ffff. Currently only 2GiB
are mapped for system memory. This is what we pass to the U-Boot
subsystem here.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Nadav Haklai <[email protected]>
Cc: Neta Zur Hershkovits <[email protected]>
Cc: Kostya Porotchkin <[email protected]>
Cc: Omri Itach <[email protected]>
Cc: Igal Liberman <[email protected]>
Cc: Haim Boot <[email protected]>
Cc: Hanna Hawa <[email protected]>
arch/arm/mach-mvebu/arm64-common.c